<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Online Movies - Ticket Booking</title>
<meta name="keywords" content="Free CSS Template, Website Templates, Music Websites" />
<meta name="description" content="Free CSS Template for Music Websites" />
<link href="${pageContext.request.contextPath}/resources/css/templatemo_style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body,td,th {
	font-size: 14px;
}
</style>
</head>
<body>
<!--
This is a free CSS template provided by templatemo.com
-->
<div id="templatemo_container">

	<div id="templatemo_header">
    	<div id="templatemo_title">
            <div id="templatemo_sitetitle">Online<span>Movies</span></div>
        </div>
         <spring:url value="/logout" var="logout_url" htmlEscape="true" />
        <div id="templatemo_login" align="right">
        	Welcome <label>${username}</label> | <a href="${logout_url}">Log Out</a>
        </div>
    </div>

	<div id="templatemo_banner">
       	<div id="templatemo_banner_text">
            <div id="banner_title">Welcome To Online Movie Ticket Booking</div>
            <p>
            This is a site for booking your ticket online
          </p>
            
    	</div>
	</div>
    <spring:url value="/registration" var="registration_url" htmlEscape="true" />
     <spring:url value="/" var="index_url" htmlEscape="true" />
      <spring:url value="/selectmovie" var="booking_url" htmlEscape="true" />
       <spring:url value="/hall" var="hall_url" htmlEscape="true" />
       <spring:url value="/movie" var="movie_url" htmlEscape="true" />
    <div id="templatemo_menu">
     	<ul>
			<li><a href="${index_url}"  class="current">Main Page</a></li>
			<li><a href="${registration_url}">Registration</a></li>
            <li><a href="${booking_url}">Booking Details</a></li>
            <li><a href="${hall_url}">Show Details</a></li>  
            <li><a href="${movie_url}">Movie details</a></li>                           
            <li><a href="subpage.html" class="lastmenu">Contact</a></li>        
        </ul>  
    </div>
    
    <div id="templatemo_content">
    
    	<div id="templatemo_left_column">
            <h2>Customer Login</h2>
            <div class="left_col_box">
             <label>${usernameerr}</label>
                <form:form method="post" modelAttribute="user" action="login">
                  <div class="form_row"><label>Name</label><input class="inputfield" name="username" type="text" id="username"/></div>
                    <div class="form_row"><label>Password</label><input class="inputfield" name="password" type="password" id="password"/></div>
                    <input class="button" type="submit" name="Submit" value="Login" />
                </form:form>
			</div>
            
            <h2>Blog Entries</h2>
            <div class="left_col_box">
                <div class="blog_box">
                    <h3><a href="#">The Hunger Game</a></h3>
                   I just got back from watching Mokingjay,and I thought it was awesome.I even like it better than the other two which I also 
                   love.<br />
                    Posted by <a href="#"><span>Admin</span></a> in <a href="#"><span>Videos</span></a><br />
                    14 Nov 2014
				</div>
                <div class="blog_box">
                    <h3><a href="#">Big Hero 6</a></h3>
                   I am a huge fan of Everything  Disney.But this seemed like a first draft that was rushed into productipon.<br />
                    Posted by <a href="#"><span>Admin</span></a> in <a href="#"><span>Audios</span></a><br />
                    20 November 2014
				</div>
              <div class="blog_box">
                  <h3><a href="#">The Fury</a></h3>
                    I can Gladly say that David Ayer's World War II  filck 'Fury' lived upto my expectation.<br />
                    Posted by <a href="#"><span>Admin</span></a> in <a href="#"><span>Samples</span></a><br />
                    22 November 2014
			  </div> 
                <div class="blog_box"></div> 
                <div class="more_button"></div>                                              

			</div>
		</div>
        
        <div id="templatemo_right_column">
        	<div id="new_released_section">
            	<h1>Latest Movies</h1>
            	<div class="new_released_box">
                <img src="${pageContext.request.contextPath}/resources/images/1000.jpg" alt="image" />
                    <h3>Happy New Year</h3> 
                    <h4>Sharukh Khan , Dipika Padukon</h4>  
              <div class="rantsection">
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/yellowstar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/yellowstar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/yellowstar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/yellowstar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/whitestar.gif" alt="star" />
                    </div>
                    <div class="more_button"><a href="#">More</a></div>
				</div>
                <div class="new_released_box">
                <img src="${pageContext.request.contextPath}/resources/images/5555.jpg" alt="image" />
                    <h3>Interstellar</h3> 
                    <h4>Mathwee,Anne,Jesica</h4>  
                    <div class="rantsection">
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/yellowstar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/yellowstar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/yellowstar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/whitestar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/whitestar.gif" alt="star" />
                    </div>
                    <div class="more_button"><a href="#">More</a></div>
				</div>
                <div class="new_released_box">
                <img src="${pageContext.request.contextPath}/resources/images/6666.jpg" alt="image" />
                    <h3>John Wick</h3> 
                    <h4>Keanu Reevas,Bridget Moynahan</h4>  
                    <div class="rantsection">
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/yellowstar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/yellowstar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/yellowstar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/whitestar.gif" alt="star" />
                        <img class="star" src="${pageContext.request.contextPath}/resources/images/whitestar.gif" alt="star" />
                    </div>
                    <div class="more_button"><a href="#">More</a></div>
				</div>
				
            </div>
            
            <div class="templatemo_right_panel_fullwidth">
                <div id="news_section">
                    <h1>Top Stories </h1>
                    <div class="news_box">
                        <img src="${pageContext.request.contextPath}/resources/images/1111.jpg" alt="image" />
                        <h3>Happy Ending</h3> 
                        <h4>21 NOV 2014</h4>
                        <p>A love triangle ensues.
                        <a href="templatemo.com" target="_parent"></a>
                        </p>
                    </div>
                    <div class="news_box">
                        <img src="${pageContext.request.contextPath}/resources/images/7777.jpg" alt="image" />
                        <h3>Gone Girl</h3> 
                        <h4>02 NOV 2048</h4>
                        <p> With his wife's disappearance having become the focus of an intence media circus ,a man sees the spot light turned on him when it's suspected that he may not be innocent. <a href="templatemo.com" target="_parent"></a>
                        </p>
                    </div>
                    <div class="more_button" style="margin-left:15px;"></div>
                </div> <!-- end of news -->
                
                <div id="topdownload_section">
                    <h1>Top Movies</h1>
                    <div class="topdownload_box">
                        <div class="title_singer">Happy New Year<span> shahrukh khan</span></div><span class="download_button"><a class="download_button" href="#">Download</a></span>
                    </div>
                    <div class="topdownload_box">
                        <div class="title_singer">Happy Ending <span> Saif Ali Khan</span></div><span class="download_button"><a class="download_button" href="#">Download</a></span>
                    </div>
                    <div class="topdownload_box">
                        <div class="title_singer">Krrish2 <span> Hritik Roshan</span></div><span class="download_button"><a class="download_button" href="#">Download</a></span>
                    </div>
                    <div class="topdownload_box">
                        <div class="title_singer">MI4<span> Tom Cruise</span></div><span class="download_button"><a class="download_button" href="#">Download</a></span>
                    </div>
                    <div class="topdownload_box">
                        <div class="title_singer">Bol Bachan <span> Abisek bachhan</span></div><span class="download_button"><a class="download_button" href="#">Download</a></span>
                    </div>
                    <div class="topdownload_box">
                        <div class="title_singer">Saukeens <span> Anupam Kher</span></div><span class="download_button"><a class="download_button" href="#">Download</a></span>
                    </div> 
                     <div class="topdownload_box">
                        <div class="title_singer">Intersteller <span> -Cameron</span></div><span class="download_button"><a class="download_button" href="#">Download</a></span>
                    </div>       
                </div> <!-- end of top download -->
			</div>                
            
		</div>
    </div>
    <!--  Designed by w w w . t e m p l a t e m o . c o m  --> 
    
	<div id="templatemo_footer">
        <a href="#">Home</a> | <a href="#">Videos</a> | <a href="#">Audios</a> | <a href="#">Albums</a> | <a href="#">Artists</a> | <a href="#">Contact</a><br />
       
	</div>
</div>
</body>
</html>